package com.kaitian.demo.demo_boot_starter.repository;

import com.kaitian.demo.demo_boot_starter.doc.MonoDemoDoc;
import org.springframework.data.mongodb.repository.ReactiveMongoRepository;
import org.springframework.stereotype.Repository;
import reactor.core.publisher.Mono;


@Repository
public interface MonoDemoDocRepository extends ReactiveMongoRepository<MonoDemoDoc, Long> {

    Mono<MonoDemoDoc> getById(Long id);
}
